package com.ten_4_4.hiring.talent.service;

import java.util.List;

import com.ten_4_4.hiring.talent.dao.ResumeDao;
import com.ten_4_4.hiring.talent.po.ResumePo;

public class ResumeService {

	private ResumeDao resumeDao = new ResumeDao();
	
	public List<ResumePo> listAllResume(int talentId) {
		return resumeDao.listAllResume(talentId);
	}

	public int delete(int resumeId) {
		return resumeDao.delete(resumeId);
	}

	public ResumePo getResumePoById(int resumeId) {
		return resumeDao.getResumePoById(resumeId);
	}

	public List<ResumePo> getAllResumeListByTalent(int talentId) {
		return resumeDao.getAllResumeListByTalent(talentId);
	}

	public int addResume(List<Object> list) {
		return resumeDao.addResume(list);
	}

	public int modifyIntention(int resumeId, String intention, int expectMinSalary, int expectMaxSalary) {
		return resumeDao.modifyIntention(resumeId, intention, expectMinSalary, expectMaxSalary);
	}

	public int modifyWorkExperience(int resumeId, String workExperience) {
		return resumeDao.modifyWorkExperience(resumeId, workExperience);
	}

	public int modifyProjectExperience(int resumeId, String projectExperience) {
		return resumeDao.modifyProjectExperience(resumeId, projectExperience);
	}

	public int modifyEducation(int resumeId, int education) {
		return resumeDao.modifyEducation(resumeId, education);
	}

}
